package cn.maidouya.pet.mapper;

import cn.maidouya.basic.mapper.BaseMapper;
import cn.maidouya.pet.domain.Pet;

import java.util.List;
import java.util.Map;

public interface PetMapper extends BaseMapper<Pet> {
    // 批量上架
    void onSale(Map<String, Object> map);
    // 批量下架
    void offSale(Map<String, Object> map);
    // 批量删除服务
    void batchDeleteIds(Map<String, Object> map);
    // 右侧经典搭配查询
    List<Pet> loadMatch();
    // 宠物和宠物详情页展示
    Pet loadByPetDetail(Long id);
}